<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<script>
			 class Person {
				constructor() {
					this.name = 'John'
				}
			}
			const obj = new Person()
			console.log(obj.__proto__ === Person.prototype)
			console.log(obj.__proto__.__proto__ === Object.prototype)
            console.log(Person.__proto__ === Function.prototype) 
			function Father() {}
			const children = new Father()
			console.log(children.__proto__ === Father.prototype)
			console.log(children.__proto__.__proto__ === Object.prototype)
            const arr = []
            console.log(arr.__proto__ === Array.prototype)
            console.log(arr.__proto__.__proto__ === Object.prototype)
            console.log(Array.__proto__ === Function.prototype) 
		</script>
	</head>
	<body></body>
</html>
